<template>
	<el-config-provider :locale="locale">
		<router-view />
	</el-config-provider>
</template>

<script setup>
	import {
		ElConfigProvider
	} from "element-plus";
	import zhCn from "element-plus/lib/locale/lang/zh-cn";
	import {
		ref
	} from "vue";
	
	const locale = ref(zhCn);
</script>

<style>
	html,
	body {
		margin: 0px;
		padding: 0px;
	}

	#app {
		position: fixed;
		font-family: Avenir, Helvetica, Arial, sans-serif;
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
		color: #2c3e50;
		padding: 0px;
		margin: 0px;
		width: 100%;
		height: 100%;
	}
</style>
